package com.bs.domain;

import javax.persistence.*;
import java.io.Serializable;

/**
 * Created by wujian
 * Date: 2017-12-12
 * Time: 11:24
 */
public class AlertSubQuery implements Serializable{

    private static final long serialVersionUID = 1L;

    private Long id;

    private String userId;

    private String userName;

    private Long alertId;

    private String partitionId;

    private String moduleName;

    private Integer msgType;

    private String recCreateTime;

    private String recCreator;

    public AlertSubQuery() {
    }

    public AlertSubQuery(Long id, String userId, String userName, Long alertId, String partitionId, String moduleName, Integer msgType, String recCreateTime, String recCreator) {
        this.id = id;
        this.userId = userId;
        this.userName = userName;
        this.alertId = alertId;
        this.partitionId = partitionId;
        this.moduleName = moduleName;
        this.msgType = msgType;
        this.recCreateTime = recCreateTime;
        this.recCreator = recCreator;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getAlertId() {
        return alertId;
    }

    public void setAlertId(Long alertId) {
        this.alertId = alertId;
    }

    public String getPartitionId() {
        return partitionId;
    }

    public void setPartitionId(String partitionId) {
        this.partitionId = partitionId;
    }

    public String getModuleName() {
        return moduleName;
    }

    public void setModuleName(String moduleName) {
        this.moduleName = moduleName;
    }

    public Integer getMsgType() {
        return msgType;
    }

    public void setMsgType(Integer msgType) {
        this.msgType = msgType;
    }

    public String getRecCreateTime() {
        return recCreateTime;
    }

    public void setRecCreateTime(String recCreateTime) {
        this.recCreateTime = recCreateTime;
    }

    public String getRecCreator() {
        return recCreator;
    }

    public void setRecCreator(String recCreator) {
        this.recCreator = recCreator;
    }

}
